//-----------------------------------------------------------------------
// <copyright file="tblFileUploadBase.cs" company="VNSpoke">
//     Copyright ? VNSpoke. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;


namespace Robot.Entities
{
	[Serializable]
	public class tblFileUploadBase
	{
		
		#region Variable Declarations
		
		private Guid				id = Guid.Empty;
		
		private string				fileName = string.Empty;
		
		private DateTime?				uploadDate = null;
		
		private string				uploadBy = string.Empty;
		
		private string				path = string.Empty;
		
		private int?				fileType = null;
		
		private int?				status = null;
		#endregion
		
		#region Constructors
		public tblFileUploadBase() {}
		
		public tblFileUploadBase (
			Guid id,
			string fileName,
			DateTime? uploadDate,
			string uploadBy,
			string path,
			int? fileType,
			int? status)
		
		{
			this.id = id;
			this.fileName = fileName;
			this.uploadDate = uploadDate;
			this.uploadBy = uploadBy;
			this.path = path;
			this.fileType = fileType;
			this.status = status;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ID
		{
			get { return id; }
			set { id = value; }
		}
		public Guid originalID
		{
			get { return originalID; }
			set { originalID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string FileName
		{
			get { return fileName; }
			set { fileName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? UploadDate
		{
			get { return uploadDate; }
			set { uploadDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string UploadBy
		{
			get { return uploadBy; }
			set { uploadBy = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Path
		{
			get { return path; }
			set { path = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? FileType
		{
			get { return fileType; }
			set { fileType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Status
		{
			get { return status; }
			set { status = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum tblFileUploadColumns
	{
		ID,
		FileName,
		UploadDate,
		UploadBy,
		Path,
		FileType,
		Status
	}//End enum
}